home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / chgle10.zip / README.DOC < prev    next >
Text File  |  1992-05-28  |  5KB  |  121 lines

  1. 1. Introduction
  2. ===============
  3.  
  4.    GLE is an excellent plotting package for producing publication
  5. quality graphs, diagrams, posters and slides. It was originally
  6. written by Chris Pugmire and uploaded to SIMTEL20. We were
  7. impressed by its powerful capacity and high quality output, so I
  8. wrote a utility called ChGLE which make it possible to label
  9. graphs (or add legend) created with GLE in Chinese characters.
  10. This is especially useful for someone who is planing to submit
  11. their papers to a journal in Chinese. ChGLE can be regarded as an
  12. expansion of GLE, any statements which accept ASCII strings (such
  13. as Write, Text, Title etc.) can now take Chinese characters. The
  14. ChGLE can be freely used or distributed, the only request is,
  15. please let us know if you like it!
  16.  
  17. 2. Installation
  18. ===============
  19.  
  20.    This installation procedure supposes you have already installed
  21. GLE packages. All ChGLE files are archived into a ZIP file, you
  22. can store these files in the GLE directory or make another
  23. directory. When installing, it is important to replace an existing
  24. font metric file with "CHINESE.FMT" which was distributed within
  25. the package. We recommend that you replace "PSC.FMT" with
  26. CHINESE.FMT. Supposing you want to install both GLE and ChGLE in
  27. C:\GLE directory, the steps are as follows:
  28.  
  29.   pkunzip.exe  ChGLE.ZIP  c:\gle\*.*
  30.   ren  c:\gle\font\psc.fmt  c:\gle\font\psc.old
  31.   copy  c:\gle\Chinese.fmt  c:\gle\font\psc.fmt
  32.  
  33.    In this case, you should select PSC as the current font when
  34. you input Chinese characters; if not, the distances between the
  35. Chinese characters may not be correct.
  36.  
  37.    You can print out sample files distributed with this package in
  38. order to get a first impression about their appearance using this
  39. utility. It is easy if you have a Postscript Printer; just type
  40. the following commands from you computer:
  41.  
  42.     copy c:\gle\Sample1.psc  PRN
  43.     copy c:\gle\Sample2.psc  PRN
  44.     copy c:\gle\Sample3.psc  PRN
  45.  
  46.    Moreover, if you can understand Chinese (I think most people
  47. who are interested in this utility can), you can also print out
  48. help files which are in Chinese.
  49.  
  50.     copy c:\gle\Help.psc  PRN
  51.     copy c:\gle\Block.psc  PRN
  52.  
  53.   Otherwise, you have to use GhostScript (which is a Postscript
  54. emulator) to print out the files if you do not have a Postscript
  55. printer. GhostScript can be downloaded from SIMTEL20 via FTP in
  56. "msdos.postscript" directory.
  57.  
  58.  
  59. 3. How to use ChGLE
  60. ===================
  61.    We assume you are familiar with GLE, if not, please refer to
  62. the file "manual.txt" in the GLE package. First, it is better to
  63. make use of the built-in editor of GLE to write your GLE source
  64. code. If you need to label a graph in Chinese, temporally use
  65. ASCII string as a place holder. The advantage of doing so is that
  66. you can easily make use of preview function of GLE to debug your
  67. source code and to adjust the position, orientation and size of
  68. characters. After the source is saved, you invoke a Chinese editor
  69. such as NJSTAR (which is also available from SIMTEL20 in
  70. msdos.editor directory) to substitute ASCII strings with real
  71. Chinese characters you need to label and save the file. Similar to
  72. original GLE, you use PsGLE to transform this source code to a
  73. file in Postscript format at first, you should then invoke ChGLE
  74. to replace all Chinese characters with their font. The procedure
  75. would look like the following:
  76.  
  77.  
  78.   (1) Cgle  filename
  79.             .
  80.       (write and debug your source code, using ASCII as place
  81.         holder, default file extension is GLE)
  82.             .
  83.  
  84.   (2) Njstar  filename.gle
  85.               .
  86.       (replace ASCII strings with real Chinese characters)
  87.               .
  88.   (3) PsGLE   filename
  89.  
  90.       (transform source code to Postscript format,
  91.        a new file "filename.ps"  will be created)
  92.  
  93.   (4) ChGLE   filename
  94.  
  95.       (replace Chinese characters with their font,
  96.          filename.psc will be created)
  97.  
  98.   (5a) copy  filename.psc  PRN
  99.  
  100.      (if you have a Postscript printer Print out the filename.psc)
  101.  
  102.   (5b) gs -sDEVICE=epson   filename.psc
  103.       (if you do not have a Postscript printer, print out
  104.         filename.psc using Ghostscript emulator, you can select
  105.         a different device for Ghostscript.
  106.  
  107.    Please explore the sample files to learn how to use ChGLE!
  108.  
  109. 4. Comments
  110. ===========
  111.    If you have any comments or suggestions, please contact us.
  112.  
  113.    E-mail address:
  114.      jialong@neuro.informatik.uni-ulm.de
  115.   or li@neuro.informatik.uni-ulm.de
  116.  
  117.   Home address:
  118.      Hof Str. 22
  119.      7906 Blaustein
  120.      Germany
  121.